package com.hsgene.order.dto.peanut;

import com.hsgene.common.util.validation.FieldChecker;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 套餐更改完善信息
 *
 * @author wangbing
 * @version 1.0, 2018/11/6
 */
public class GeneOrderInterchange implements Serializable {

    private static final long serialVersionUID = -8812927576822070541L;
    /**
     * 套餐变更记录id
     */
    private String id;

    private String orderId;

    private String recordNo;

    private BigDecimal amount;

    private Integer supplementFlag;

    private Integer status;

    /**
     * 付款人类型(0患者付，1地服代付)
     */
    private String payerType;

    /**
     * 变更详情列表
     */
    private List<GeneOrderInterChangeDetail> interChangeDetails;

    private Integer paymentStatus;

    /**
     * 样本图片(逗号分隔)
     */
    private String samplePhoto;

    private String orderNo;

    /**
     * 使用耗材实体列表
     */
    private List<GeneOrderGoodsConsume> geneOrderGoodsConsumes;

    /**
     * 快递回单(逗号分隔)
     */
    private String figures;

    public void check() {
        FieldChecker.checkEmpty(id, "变更记录id");
        FieldChecker.checkEmpty(orderId, "关联订单id");
        FieldChecker.checkEmpty(interChangeDetails, "变更详情列表");
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getSupplementFlag() {
        return supplementFlag;
    }

    public void setSupplementFlag(Integer supplementFlag) {
        this.supplementFlag = supplementFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPayerType() {
        return payerType;
    }

    public void setPayerType(String payerType) {
        this.payerType = payerType;
    }

    public List<GeneOrderInterChangeDetail> getInterChangeDetails() {
        return interChangeDetails;
    }

    public void setInterChangeDetails(List<GeneOrderInterChangeDetail> interChangeDetails) {
        this.interChangeDetails = interChangeDetails;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public String getSamplePhoto() {
        return samplePhoto;
    }

    public void setSamplePhoto(String samplePhoto) {
        this.samplePhoto = samplePhoto;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public List<GeneOrderGoodsConsume> getGeneOrderGoodsConsumes() {
        return geneOrderGoodsConsumes;
    }

    public void setGeneOrderGoodsConsumes(List<GeneOrderGoodsConsume> geneOrderGoodsConsumes) {
        this.geneOrderGoodsConsumes = geneOrderGoodsConsumes;
    }

    public String getFigures() {
        return figures;
    }

    public void setFigures(String figures) {
        this.figures = figures;
    }
}
